﻿#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h> 
int main()
{
	char s[80], ss[80];
	int i, x;
	gets(s);
	x = s[0] - '0';
	for (i = 1; s[i] != '='; i++)
		switch (s[i])
		{
		case '+': x = x + (s[i + 1] - '0');
			break;
		case'-': x = x - (s[i + 1] - '0');
			break;
		case '*':x = x * (s[i + 1] - '0');
			break;
		case'/':x = x / (s[i + 1] - '0');
			break;

		}
	printf("%s%d\n", s, x);